﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Project.Yan.Net.Tool.Ex
{
    /// <summary>
    /// 
    /// </summary>
    public class BusinessException : Exception
    {
        public CodeEnums Code { get; set; }

        public BusinessException(string message, CodeEnums code) : base(message)
        {
            Code = code;
        }
    }
}
